<?php

class LastFMAPI_Track extends LastFMAPI {
	
	private $classMethod;
	
	protected function __construct($auth){
		parent::__construct($auth);
		$this->classMethod = "track.";	
	}
	
	public function getMbid($artist,$track){
		$xml = $this->makeRequest($this->classMethod."getinfo",array("artist" => $artist,"track" => "$track"));
		//var_dump((string)$xml->track->id);
		return (string) $xml->track->id;
	}

	
	
}

?>